﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kale.Core.UnitTests
{
   public class FakeAlbumStoreNodeProvider : INodeProvider
   {
      private string _name;

      public FakeAlbumStoreNodeProvider(Dictionary<string, string> config)
      {
         _name = config["name"];
      }

      #region INodeProvider Members

      public void ClearCaches()
      {
         throw new NotImplementedException();
      }

      public IImageNode LoadParent(NodeId id)
      {
         throw new NotImplementedException();
      }

      public IImageNode LoadNode(NodeId id)
      {
         throw new NotImplementedException();
      }

      public IImageNode[] LoadChildren(NodeId id)
      {
         throw new NotImplementedException();
      }

      public NodeSource SupportedNodeSourceType
      {
         get { throw new NotImplementedException(); }
      }

      public NodeSource? SupportedParentNodeSourceType
      {
         get { throw new NotImplementedException(); }
      }

      public string Name
      {
         get { return _name; }
      }

      #endregion
   }
}
